From 2a7c32670a6b3f0bc109407d8dc35cfd9a66284f Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 11 Jul 2005 08:59:22 +0000 Subject: [PATCH] More verbose log when vmx_decode() fails. Signed-off-by: Arun Sharma --- xen/arch/x86/vmx_platform.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/vmx_platform.c b/xen/arch/x86/vmx_platform.c index bcf80e3d68..f8ca544958 100644 --- a/xen/arch/x86/vmx_platform.c +++ b/xen/arch/x86/vmx_platform.c @@ -653,8 +653,11 @@ void handle_mmio(unsigned long va, unsigned long gpa) init_instruction(&mmio_inst); - if (vmx_decode(inst, &mmio_inst) == DECODE_failure) + if (vmx_decode(inst, &mmio_inst) == DECODE_failure) { + printk("vmx decode failure: eip=%lx, va=%lx\n %x %x %x %x\n", eip, va, + inst[0], inst[1], inst[2], inst[3]); domain_crash_synchronous(); + } __vmwrite(GUEST_RIP, eip + inst_len); store_cpu_user_regs(inst_decoder_regs); -- 2.30.2